package com.itlong.cloud.property.service;

import com.itlong.cloud.POJO.DTO.property.PropertyValueServerSaveDTO;
import com.itlong.cloud.POJO.VO.property.PropertyValueServerGetOneVO;

import java.util.Map;
import java.util.Set;

/**
 * <desc>
 *      临时通行增值业务处理接口
 * </desc>
 *
 * @createDate 2019/05/29
 */
public interface IPropertyValueServerService {

    /**
     * <desc>
     *     处理过期临时通行房间
     * <desc/>
     *
     * @return  MessageVO 标准格式化响应结果
     * @author Qiang.S
     * @createDate 2019/05/31
     */
    Map<String, Set<String>> doTemporaryOverdue() throws Exception;


    /**
     * <desc>
     *      获取单个对象
     * </desc>
     *
     * @param projectId
     * @return
     * @author Jiaqi.X
     * @createDate 2019/05/29
     */
    PropertyValueServerGetOneVO getOne(String projectId);

    /**
     * <desc>
     *      保存物业增值配置
     * </desc>
     *
     * @param dto
     * @return
     * @author Jiaqi.X
     * @createDate 2019/05/29
     */
    String save(PropertyValueServerSaveDTO dto) throws Exception;
}
